<?php

class UserTableSeeder  extends Seeder {

	/**
	 * Run the database seeds.
	 *
	 * @return void
	 */
	public function run()
	{
		Eloquent::unguard();
		DB::table('user')->delete();
        User::create(array(
                'username' => 'asukasukagw',
                'password' => Hash::make('alakazam'),
                'role_id' => 1,
                'created_at' => new DateTime,
                'updated_at' => new DateTime
        ));
        User::create(array(
                'username' => 'iiwak',
                'password' => Hash::make('alakazam'),
                'role_id' => 1,
                'created_at' => new DateTime,
                'updated_at' => new DateTime
        ));
		User::create(array(
                'username' => 'juki',
                'password' => Hash::make('alakazam'),
                'role_id' => 2,
                'created_at' => new DateTime,
                'updated_at' => new DateTime
        ));
		
	}

}